﻿namespace Chain.BLL
{
    using Chain.IDAL;
    using Chain.Model;
    using System;
    using System.Collections;
    using System.Collections.Generic;
    using System.Data;
    using System.Runtime.InteropServices;

    public class PresentAwards
    {
        private readonly Chain.IDAL.PresentAwards dal = new Chain.IDAL.PresentAwards();
        public int Add(Chain.Model.PresentAwards model)
        {
            return this.dal.Add(model);
        }
        public Chain.Model.PresentAwards GetModel(int ID)
        {
            return this.dal.GetModel(ID);
        }
        public DataTable GetItem(int ID)
        {
            return this.dal.GetItem(ID).Tables[0];
        }
        public bool Update(Chain.Model.PresentAwards model)
        {
            return this.dal.Update(model);
        }
        /// <summary>
        /// 软删除
        /// </summary>
        /// <param name="ID"></param>
        /// <returns></returns>
        public bool IsDelete(int ID)
        {
            return this.dal.IsDelete(ID);
        }
    }
}
